const mongoose = require('mongoose')
// const { Types } = require('mongoose')
const Schema = mongoose.Schema

const categorySchema = new Schema({
  // _id: Types.ObjectId,
  name: String,
  // usageCount: {
  //   type: Number,
  //   default: 0
  // }
})

const categoryModel = mongoose.model('category', categorySchema)

module.exports = {
  categoryModel
}